<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lalang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div th:text="${user.getUserName()}">王五</div>
</body>
</html>